package com.ruoyi.quartz.task;

import org.springframework.stereotype.Component;

import java.time.LocalDateTime;

/**
 * @author WaKy
 * @version 1.0
 */
@Component
public class MyTask {

    public void showTime() {
        System.out.println("当前时间：" + LocalDateTime.now());
    }


}
